package aop;

import java.lang.reflect.Method;
import java.util.Map;

/**
 * @author Zee
 * @version 1.0
 * @date 2021/10/13
 */
public class AdvisedSupport {
    private Method method;
    private Object target;
    private Object aspect;
    private String pointCut;

    public AdvisedSupport(Method method, Object target, Object aspect,String pointCut) {
        this.method = method;
        this.target = target;
        this.aspect = aspect;
        this.pointCut=pointCut;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Object getTarget() {
        return target;
    }

    public void setTarget(Object target) {
        this.target = target;
    }

    public Object getAspect() {
        return aspect;
    }

    public void setAspect(Object aspect) {
        this.aspect = aspect;
    }

    public String getPointCut() {
        return pointCut;
    }

    public void setPointCut(String pointCut) {
        this.pointCut = pointCut;
    }
}
